import { request } from "@/utils/axiosInstance.js";

export function list() {
    return request({
        url: "/order/list",
    });
}

export function add(data) {
    return request({
        url: "/order/add",
        method: "post",
        data,
    });
}

export function update(data) {
    return request({
        url: "/order/update",
        method: "post",
        data,
    });
}

export function del(data) {
    return request({
        url: "/order/del",
        method: "post",
        data,
    });
}
